﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 战棋模拟器
{
    class 邪魔仆从:Minion
    {
        public 邪魔仆从() : base()
        {
            Attack = 2;
            count = 1;
        }


        public override void Deathrattle()
        {
            for (int i = count; i > 0; i--)
            {
                if (pool.TrueCount() > 0)
                {
                    Minion m = pool.RandomMinion();
                    m.Attack += Attack;
                }
            }
            base.Deathrattle();
        }


        public override Minion NewOne()
        {
            return new 邪魔仆从();
        }
    }


    class 邪魔仆从_金色 : 邪魔仆从
    {
        public 邪魔仆从_金色() : base()
        {
            Attack *= 2;
            Health *= 2;
            count *= 2;
            buff *= 2;
        }


        public override Minion NewOne()
        {
            return new 邪魔仆从_金色();
        }
    }
}

